#include "Metgine/Core/SoundResource.hpp"

namespace Metgine
{
namespace Core
{

SoundResource::SoundResource(const std::string& path) : Resource(ResourceType::Sound)
{

    m_buffer.LoadFromFile(path);

}

SoundResource::~SoundResource()
{

}

sf::SoundBuffer& SoundResource::Sound()
{

    return m_buffer;

}

}; // Core
}; // Metgine
